package com.symaster.gameengine.api;

/**
 * @author yinmiao
 * @since 2024/9/19
 */
public class RangeI {
    private int lower;
    private int upper;

    public static RangeI of(int lower, int upper) {
        RangeI rtn = new RangeI();
        rtn.lower = lower;
        rtn.upper = upper;
        return rtn;
    }

    public int getLower() {
        return lower;
    }

    public void setLower(int lower) {
        this.lower = lower;
    }

    public int getUpper() {
        return upper;
    }

    public void setUpper(int upper) {
        this.upper = upper;
    }
}
